package com.hxh.learn.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 系统权限
 * </p>
 *
 * @author hxh
 * @since 2023-03-02
 */
@TableName("sys_permissions")
@ApiModel(value = "SysPermissions对象", description = "系统权限")
@Data
public class SysPermissions implements Serializable {

    private static final long serialVersionUID = 1L;
    @TableId(type= IdType.ASSIGN_ID)
    @ApiModelProperty("权限id")
    private String permissionsId;

    @ApiModelProperty("上级")
    private Integer parentId;

    @ApiModelProperty("菜单名称")
    private String name;

    @ApiModelProperty("请求路径")
    private String path;

    @ApiModelProperty("0无效，1有效")
    private Integer status;

    @ApiModelProperty("创建时间")
    private Long createTime;

}
